<?php
return array(
	'operates' => false,
	'searchColumns' => array(
		//'uid',
		'title',
		'shop_id' => array('dropDownList', Yii::app()->enum->options('shop.shop'),
			'visible' => 'Yii::app()->adminUser->role != AdminUser::ROLE_PROVIDER',
		),
		'begin_time' => array('class'=>'DatetimePickerField'),
		'end_time' => array('class'=>'DatetimePickerField'),
	),
	'dataColumns' => array(
		'id',
		//'member.member_name',
		'title',
		array(
			'name' => 'shop.shop_name',
			'visible' => Yii::app()->adminUser->role != AdminUser::ROLE_PROVIDER,
		),
		'create_time',
		array(
			'header' => '操作',
			'class' => 'ButtonColumn',
		),
	),
	'_import' => array(
		array('*', 'actions.admin//*'),
	),
);
?>